package com.googlecode.vmock.exceptions;

import com.googlecode.vmock.VMock;

/**
 * Thrown if VMock fails to create a dummy object through the {@link VMock#mock(Class)} method.
 * 
 * @author marcin.jagus
 */
public class ProxyInstantiationException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    /**
     * Creates new exception with a given message string.
     * 
     * @param message
     */
    public ProxyInstantiationException(String message) {
        super(message);
    }

    /**
     * Creates new exception with a given message string and a given cause.
     * 
     * @param message
     * @param cause
     */
    public ProxyInstantiationException(String message, Throwable cause) {
        super(message, cause);
    }
}
